package com.mcxx.modules.miniSalvation.family.service.read;

import com.mcxx.modules.base.utils.QueryParamUtil;
import com.mcxx.modules.miniSalvation.family.dao.read.FamilySpecialHistoryReadDao;
import com.mcxx.modules.miniSalvation.family.dao.read.FamilySpecialReadDao;
import com.mcxx.modules.miniSalvation.family.dto.FamilySpecialObjectDTO;
import com.mcxx.modules.miniSalvation.family.entity.FamilySpecialEntity;
import com.mcxx.modules.miniSalvation.family.entity.FamilySpecialHistoryEntity;
import com.mcxx.modules.miniSalvation.family.param.FamilySpecialParam;
import com.yinhai.ta404.core.restservice.requestbean.PageParam;
import com.yinhai.ta404.core.restservice.resultbean.Page;
import com.yinhai.ta404.core.security.vo.UserAccountVo;
import com.yinhai.ta404.core.service.BaseService;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
@TaTransactional(readOnly = true)
public class SpecialPeopleHistoryReadService extends BaseService {
    @Autowired
    private FamilySpecialHistoryReadDao familySpecialHistoryReadDao;



    
    public List<FamilySpecialHistoryEntity> getFamilySpecialHistoryList(String orderId) {
        return familySpecialHistoryReadDao.querFamilyspecialByOrderId(orderId);
    }

    
    public FamilySpecialHistoryEntity queryFamilySpecialHistory(String id) {
        return familySpecialHistoryReadDao.queryFamilySpecialHistoryById(id);
    }


}
